package com.powernode.work.dao;

import com.powernode.work.bean.ClueRemarkBean;

import java.util.List;

public interface ClueRemarkMapper {
    int deleteByPrimaryKey(String id);

    int insert(ClueRemarkBean record);

    int insertSelective(ClueRemarkBean record);

    ClueRemarkBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ClueRemarkBean record);

    int updateByPrimaryKey(ClueRemarkBean record);

    /**
     * 根据线索id查备注
     * @param clueId
     * @return
     */
    List<ClueRemarkBean> selectByClueId(String clueId);
}